import api from '@/api';
export const getListApiObj = {
    version: api.versionModel.selectPage, // 版本
    taskRequirements: api.pmpRequestInfoModel.selectPage, //业务需求
    productRequirements: api.productRequireModel.selectPage, //产品需求
    productAnalysis: api.productDetailModel.selectPage, //产品管理
    system: api.productDetailModel.selectPage, // 系统
    productAnalysisVersion: api.versionModel.selectVersion, //产品管理里的版本
    methodsTemplate: api.referenceTemplateModel.findByName, //方法模板
    requireChange: api.requireChangeModel.selectPage, //需求变更
    replenish: api.pmpReplenishRecordModel.findByEmpIdAndSystem, //补录
    taskBoard: api.workbenchModel.findBusinessBar, //受理看板
    versionBoard: api.workbenchModel.findVersionBar, //研发看板
    jiraIssue: api.jiraIssueModel.selectPage, //jiraIssue列表
    requireTrack: api.requireTrackModel.selectPage, //能效跟踪
    versionJiraTrack: api.jiraIssueTrackModel.selectVersionPage,
    requireJiraTrack: api.jiraIssueTrackModel.selectPage, // jira能效跟踪
    versionReportHistory: api.versionStatisticsModel.selectPage, //能效报告
    productLine: api.productLineModel.selectPage, // 产品线管理
    zhipingGuifanxing: api.requireTrackModel.selectPRSPage, //制品规范性
    lubiaoSetting: api.signpostManagementModel.selectPage, //路标设置
    lubiaoPushList: api.signpostModel.selectPage,
    myLubiaoList: api.signpostModel.selectPage,
    registeredProject: api.registeredProjectModel.selectPage
};

export const deleteApiObj = {
    version: api.versionModel.deleteById, // 版本
    taskRequirements: api.pmpRequestInfoModel.delete, //业务需求
    productRequirements: api.productRequireModel.delete, //产品需求
    methodsTemplate: api.referenceTemplateModel.deleteById, //方法模板
    replenish: api.pmpReplenishRecordModel.deleteById //补录
};

export const tableColumns = {
    // 我的业务需求
    myTaskRequirements: [
        {
            dataIndex: 'systemName',
            width: 180,
            fixed: 'left',
            slots: { title: 'customSystemTitle', customRender: 'systemName' }
        },
        {
            title: '业务需求名称',
            dataIndex: 'requestName',
            width: 400,
            fixed: 'left',
            ellipsis: true,
            slots: { customRender: 'requestName' }
        },
        {
            title: '需求编号',
            dataIndex: 'requestNumber'
        },
        {
            title: '标签',
            dataIndex: 'pmpLabels',
            width: 200,
            slots: { customRender: 'pmpLabels' }
        },
        // {
        //     title: '系统性分析',
        //     dataIndex: 'isRequireAnalyse'
        // },
        {
            title: '需求类型',
            dataIndex: 'requestType',
            slots: { customRender: 'requestType' }
        },
        {
            title: '优先级',
            dataIndex: 'level',
            sorter: true,
            slots: { customRender: 'level' }
        },
        {
            title: '阶段',
            dataIndex: 'stage',
            slots: { customRender: 'stage' },
            sorter: true
        },
        {
            title: '状态',
            dataIndex: 'status',
            slots: { customRender: 'status' },
            sorter: true
        },
        {
            title: '发起时间',
            dataIndex: 'initiatorTime',
            sorter: true,
            slots: { customRender: 'initiatorTime' }
        },
        {
            title: '预计结束时间',
            dataIndex: 'estimateTime',
            ellipsis: true,
            slots: { customRender: 'estimateTime' }
        },
        {
            title: '发起人',
            dataIndex: 'initiator'
        },
        {
            title: '发起部门',
            dataIndex: 'initiatorDept'
        },
        {
            title: '操作',
            dataIndex: 'action',
            fixed: 'right',
            slots: { customRender: 'action' }
        }
    ],
    // 业务需求
    taskRequirements: [
        // {
        //     dataIndex: 'systemTags',
        //     fixed: 'left',
        //     slots: { title: 'customSystemTitle', customRender: 'systemTags' },
        // },
        {
            dataIndex: 'systemName',
            width: 180,
            fixed: 'left',
            slots: { title: 'customSystemTitle', customRender: 'systemName' }
        },
        {
            title: '业务需求名称',
            dataIndex: 'requestName',
            width: 400,
            fixed: 'left',
            ellipsis: true,
            slots: { customRender: 'requestName' }
        },
        {
            title: '需求编号',
            dataIndex: 'requestNumber'
        },
        {
            title: '标签',
            dataIndex: 'pmpLabels',
            width: 200,
            slots: { customRender: 'pmpLabels' }
        },
        // {
        //     title: '系统性分析',
        //     dataIndex: 'isRequireAnalyse'
        // },
        {
            title: '需求类型',
            dataIndex: 'requestType',
            slots: { customRender: 'requestType' }
        },
        {
            title: '优先级',
            dataIndex: 'level',
            sorter: true,
            slots: { customRender: 'level' }
        },
        {
            title: '阶段',
            dataIndex: 'stage',
            slots: { customRender: 'stage' },
            sorter: true
        },
        {
            title: '状态',
            dataIndex: 'status',
            slots: { customRender: 'status' },
            sorter: true
        },
        {
            title: '发起时间',
            dataIndex: 'initiatorTime',
            sorter: true,
            slots: { customRender: 'initiatorTime' }
        },
        {
            title: '预计结束时间',
            dataIndex: 'estimateTime',
            ellipsis: true,
            slots: { customRender: 'estimateTime' }
        },
        {
            title: '发起人',
            dataIndex: 'initiator'
        },
        {
            title: '发起部门',
            dataIndex: 'initiatorDept'
        },
        {
            title: '操作',
            dataIndex: 'action',
            fixed: 'right',
            slots: { customRender: 'action' }
        }
    ],
    // 我的产品需求
    myProductRequirements: [
        {
            title: '所属产品',
            dataIndex: 'systemName',
            width: 180,
            fixed: 'left',
            slots: { customRender: 'systemName' }
        },
        {
            title: '产品需求名称',
            dataIndex: 'requireName',
            width: 400,
            fixed: 'left',
            ellipsis: true,
            slots: { customRender: 'requireName' }
        },
        {
            title: '来源标识',
            dataIndex: 'jiraId',
            width: 80,
            slots: { customRender: 'jiraId' }
        },
        {
            title: '标签',
            dataIndex: 'pmpLabels',
            width: 200,
            slots: { customRender: 'pmpLabels' }
        },
        {
            title: '需求类型',
            dataIndex: 'requireType',
            slots: { customRender: 'requireType' }
        },
        {
            title: '优先级',
            dataIndex: 'level',
            sorter: true,
            slots: { customRender: 'level' }
        },
        {
            title: '阶段',
            dataIndex: 'stage',
            slots: { customRender: 'stage' },
            sorter: true
        },
        {
            title: '状态',
            dataIndex: 'status',
            slots: { customRender: 'status' },
            sorter: true
        },
        {
            title: '预发布版本号',
            sorter: true,
            width: 200,
            dataIndex: 'relateVersionNumber'
        },
        {
            title: '预计交付时间',
            dataIndex: 'expectTime',
            slots: { customRender: 'expectTime' }
        },
        {
            title: '创建时间',
            dataIndex: 'createTime',
            slots: { customRender: 'createTime' }
        },
        {
            title: '更新时间',
            dataIndex: 'updateTime',
            slots: { customRender: 'updateTime' },
            sorter: true
        },
        {
            title: '上线时间',
            dataIndex: 'onlineTime',
            slots: { customRender: 'onlineTime' }
        },
        {
            title: '操作',
            dataIndex: 'action',
            fixed: 'right',
            slots: { customRender: 'action' }
        }
    ],
    // 产品需求
    productRequirements: [
        {
            title: '所属产品',
            dataIndex: 'systemName',
            width: 180,
            fixed: 'left',
            slots: { customRender: 'systemName' }
        },
        {
            title: '产品需求名称',
            dataIndex: 'requireName',
            width: 400,
            fixed: 'left',
            ellipsis: true,
            slots: { customRender: 'requireName' }
        },
        {
            title: '来源标识',
            dataIndex: 'jiraId',
            width: 80,
            slots: { customRender: 'jiraId' }
        },
        {
            title: '需求编号',
            dataIndex: 'requireNumber'
        },
        {
            title: '标签',
            dataIndex: 'pmpLabels',
            width: 200,
            slots: { customRender: 'pmpLabels' }
        },
        {
            title: '需求类型',
            dataIndex: 'requireType',
            slots: { customRender: 'requireType' }
        },
        {
            title: '优先级',
            dataIndex: 'level',
            sorter: true,
            slots: { customRender: 'level' }
        },
        {
            title: '阶段',
            dataIndex: 'stage',
            slots: { customRender: 'stage' },
            sorter: true
        },
        {
            title: '状态',
            dataIndex: 'status',
            slots: { customRender: 'status' },
            sorter: true
        },
        {
            title: '预发布版本号',
            sorter: true,
            width: 200,
            dataIndex: 'relateVersionNumber'
        },
        {
            title: '预计交付时间',
            dataIndex: 'expectTime',
            slots: { customRender: 'expectTime' }
        },
        {
            title: '创建时间',
            dataIndex: 'createTime',
            slots: { customRender: 'createTime' }
        },
        {
            title: '更新时间',
            dataIndex: 'updateTime',
            slots: { customRender: 'updateTime' },
            sorter: true
        },
        {
            title: '上线时间',
            dataIndex: 'onlineTime',
            slots: { customRender: 'onlineTime' }
        },
        {
            title: '当前处理人',
            dataIndex: 'agentUser'
        },
        {
            title: '操作',
            dataIndex: 'action',
            fixed: 'right',
            slots: { customRender: 'action' }
        }
    ],
    // 系统，产品管理
    productAnalysis: [
        {
            title: '系统标识列',
            dataIndex: 'systemTag',
            width: 100,
            ellipsis: true,
            fixed: 'left'
        },
        {
            title: '系统名称',
            dataIndex: 'systemName',
            width: 200,
            slots: { customRender: 'systemName' }
        },
        {
            title: '系统标签',
            dataIndex: 'pmpLabels',
            slots: { customRender: 'pmpLabels' },
            width: 200
        },
        {
            title: '系统类型',
            dataIndex: 'systemType',
            slots: { customRender: 'systemType' }
        },
        {
            title: '状态',
            dataIndex: 'status',
            slots: { customRender: 'status' }
        },
        {
            title: '当前预发布版本',
            dataIndex: 'versionNumber',
            width: 200,
            ellipsis: true
        },
        {
            title: '业务需求总数',
            dataIndex: 'businessRequireCount'
        },
        {
            title: '产品需求总数',
            dataIndex: 'productRequireCount'
        },
        {
            title: '版本总数',
            dataIndex: 'productVersionCount'
        },
        {
            title: '开始时间',
            dataIndex: 'startTime',
            slots: { customRender: 'startTime' }
        },
        {
            title: '人员',
            dataIndex: 'productManager',
            width: 200,
            slots: { customRender: 'productManager' },
            ellipsis: true
        },
        {
            title: '操作',
            dataIndex: 'action',
            fixed: 'right',
            slots: { customRender: 'action' }
        }
    ],
    //方法模板
    methodsTemplate: [
        {
            title: '名称',
            dataIndex: 'name'
        },
        {
            title: '类型',
            width: 50,
            dataIndex: 'type'
        },
        {
            title: '文档',
            dataIndex: 'file',
            ellipsis: true,
            slots: { customRender: 'file' }
        },
        {
            title: '链接',
            dataIndex: 'link',
            ellipsis: true,
            slots: { customRender: 'link' }
        },
        {
            title: '浏览次数',
            width: 80,
            dataIndex: 'click'
        },
        {
            title: '有用',
            width: 50,
            dataIndex: 'useful'
        },
        {
            title: '操作',
            width: 100,
            dataIndex: 'action',
            slots: { customRender: 'action' }
        }
    ],
    // 版本列表
    version: [
        {
            dataIndex: 'radio',
            width: 40,
            // ellipsis:true,
            slots: { customRender: 'radio' }
        },
        {
            title: '预发布版本号',
            dataIndex: 'versionNumber',
            width: 200,
            ellipsis: true
        },
        {
            title: '预发布版本名称',
            dataIndex: 'versionName',
            width: 300,
            ellipsis: true,
            slots: { customRender: 'versionName' }
        },
        {
            title: '来源标识',
            dataIndex: 'jiraId',
            width: 80,
            slots: { customRender: 'jiraId' }
        },
        {
            title: '预计交付时间',
            dataIndex: 'expectTime',
            slots: { customRender: 'expectTime' },
            sorter: true
        },
        {
            title: '状态',
            dataIndex: 'status',
            slots: { customRender: 'status' },
            sorter: (a, b) => {
                return a.status - b.status;
            }
        },
        {
            title: '流程状态',
            dataIndex: 'processStatus',
            slots: { customRender: 'processStatus' }
        },
        {
            title: '开始时间',
            dataIndex: 'startTime',
            slots: { customRender: 'startTime' }
        },
        {
            title: '上线时间',
            dataIndex: 'onlineRealTime',
            slots: { customRender: 'onlineRealTime' }
        },
        {
            title: '创建人',
            dataIndex: 'createUser'
        },
        {
            title: '所属产品',
            dataIndex: 'system',
            ellipsis: true,
            slots: { customRender: 'system' }
        },
        {
            title: '操作',
            dataIndex: 'action',
            fixed: 'right',
            width: 150,
            slots: { customRender: 'action' }
        }
    ],
    // 系统中包含的版本
    productAnalysisVersion: [
        {
            title: '预发布版本号',
            width: 120,
            dataIndex: 'versionNumber'
        },
        {
            title: '预发布版本名称',
            dataIndex: 'versionName'
        },
        {
            title: '预计交付时间',
            dataIndex: 'expectTime',
            slots: { customRender: 'expectTime' }
        },
        {
            title: '状态',
            dataIndex: 'status',
            width: 100,
            slots: { customRender: 'status' }
        },
        {
            title: '流程状态',
            dataIndex: 'processStatus',
            width: 100,
            slots: { customRender: 'processStatus' }
        },
        {
            title: '开始时间',
            dataIndex: 'startTime'
        },
        {
            title: '上线时间',
            dataIndex: 'onlineTime'
        },
        {
            title: '操作',
            dataIndex: 'action',
            key: 'action',
            width: 100,
            slots: { customRender: 'action' }
        }
    ],
    // 需求变更
    requireChange: [
        {
            title: '名称',
            dataIndex: 'title',
            slots: { customRender: 'versionTitle' }
        },
        {
            title: '变更类型',
            dataIndex: 'changeType',
            slots: { customRender: 'changeType' }
        },
        {
            title: '重要级别',
            dataIndex: 'level',
            slots: { customRender: 'level' }
        },
        {
            title: '流程状态',
            dataIndex: 'status',
            slots: { customRender: 'status' }
        },
        {
            title: '申请人',
            dataIndex: 'applyUser'
        },
        {
            title: '操作',
            dataIndex: 'action',
            key: 'action',
            slots: { customRender: 'action' }
        }
    ],
    system: [
        {
            title: '产品',
            dataIndex: 'catalogName',
            fixed: 'left',
            slots: { customRender: 'catalogName' }
        },
        {
            title: '系统名称',
            dataIndex: 'systemName',
            width: 200,
            fixed: 'left',
            slots: { customRender: 'systemName' }
        },
        {
            title: '系统类型',
            dataIndex: 'systemType',
            slots: { customRender: 'systemType' }
        },
        {
            title: 'jira key',
            dataIndex: 'projectKey',
            slots: { customRender: 'projectKey' }
        },
        {
            title: '数据来源',
            dataIndex: 'isOutsideSystem',
            slots: { customRender: 'isOutsideSystem' }
        },
        {
            title: '状态',
            dataIndex: 'status',
            slots: { customRender: 'status' }
        },
        {
            title: '需求管理员',
            dataIndex: '需求管理员',
            slots: { customRender: '需求管理员' }
        },
        {
            title: '产品负责人',
            dataIndex: '产品负责人',
            slots: { customRender: '产品负责人' }
        },
        {
            title: '产研层级',
            dataIndex: 'catalogType',
            width: 70,
            fixed: 'right',
            slots: { customRender: 'catalogType' }
        },
        {
            title: '操作',
            dataIndex: 'action',
            fixed: 'right',
            slots: { customRender: 'action' }
        }
    ],
    taskBoard: [
        {
            title: '业务需求',
            dataIndex: 'name',
            width: 400,
            ellipsis: true,
            slots: { customRender: 'name' }
        },
        {
            title: '受理进度',
            dataIndex: 'countversion',
            slots: { customRender: 'countversion' }
        }
    ],
    versionBoard: [
        {
            title: '版本名称',
            dataIndex: 'name',
            width: 400,
            ellipsis: true,
            slots: { customRender: 'name' }
        },
        {
            title: '研发进度',
            dataIndex: 'countversion',
            slots: { customRender: 'countversion' }
        }
    ],
    // 需求跟踪矩阵
    taskRequireTrack: [
        {
            title: '业务需求',
            dataIndex: 'businessName',
            width: 300,
            ellipsis: true,
            fixed: 'left',
            slots: { customRender: 'businessName' }
        },
        {
            title: '状态',
            dataIndex: 'status',
            slots: { customRender: 'status' }
        },
        {
            title: '提出时间',
            dataIndex: 'businessCreateTime',
            slots: { customRender: 'businessCreateTime' }
        },
        {
            title: '受理时间',
            dataIndex: 'businessAcceptTime',
            slots: { customRender: 'businessAcceptTime' }
        },
        {
            title: '提交时间',
            dataIndex: 'businessSubmitTime',
            slots: { customRender: 'businessSubmitTime' }
        },
        {
            title: '确认时间',
            dataIndex: 'businessConfirmTime',
            slots: { customRender: 'businessConfirmTime' }
        },

        {
            title: '产品需求',
            dataIndex: 'productName',
            width: 300,
            ellipsis: true,
            slots: { customRender: 'productName' }
        },
        {
            title: '产品需求编号',
            dataIndex: 'productNumber'
        },
        {
            title: '加入版本',
            dataIndex: 'productAddVersionTime',
            slots: { customRender: 'productAddVersionTime' }
        },
        {
            title: '版本名称',
            dataIndex: 'versionName',
            ellipsis: true
        },
        {
            title: '版本号',
            dataIndex: 'versionNumber',
            slots: { customRender: 'versionNumber' }
        },
        {
            title: '方案确定',
            dataIndex: 'versionConfirmTime',
            slots: { customRender: 'versionConfirmTime' }
        },
        //研发
        {
            title: '研发计划开始',
            dataIndex: 'versionRanddPlanStartTime',
            slots: { customRender: 'versionRanddPlanStartTime' }
        },
        {
            title: '研发计划完成',
            dataIndex: 'versionRanddPlanEndTime',
            slots: { customRender: 'versionRanddPlanEndTime' }
        },
        {
            title: '研发实际开始',
            dataIndex: 'versionRanddRealStartTime',
            slots: { customRender: 'versionRanddRealStartTime' }
        },
        {
            title: '研发实际完成',
            dataIndex: 'versionRanddRealEndTime',
            slots: { customRender: 'versionRanddRealEndTime' }
        },
        // 测试
        {
            title: '测试计划开始',
            dataIndex: 'versionTestPlanStartTime',
            slots: { customRender: 'versionTestPlanStartTime' }
        },
        {
            title: '测试计划结束',
            dataIndex: 'versionTestPlanEndTime',
            slots: { customRender: 'versionTestPlanEndTime' }
        },
        {
            title: '测试实际开始',
            dataIndex: 'versionTestRealStartTime',
            slots: { customRender: 'versionTestRealStartTime' }
        },
        {
            title: '测试实际结束',
            dataIndex: 'versionTestRealEndTime',
            slots: { customRender: 'versionTestRealEndTime' }
        },

        {
            title: '初次提测时间',
            dataIndex: 'versionAutoTestTime',
            slots: { customRender: 'versionAutoTestTime' }
        },
        {
            title: '提测次数',
            dataIndex: 'versionAutoTestCount'
        },
        {
            title: '交付时间',
            dataIndex: 'versionDeliveryTime',
            slots: { customRender: 'versionDeliveryTime' }
        },
        {
            title: '预计上线',
            dataIndex: 'versionExpectTime',
            slots: { customRender: 'versionExpectTime' }
        },
        {
            title: '上线完成',
            dataIndex: 'versionOnlineTime',
            slots: { customRender: 'versionOnlineTime' }
        },
        {
            title: '实际上线',
            dataIndex: 'versionOnlineRealTime',
            slots: { customRender: 'versionOnlineRealTime' }
        },
        {
            title: '创建时间',
            dataIndex: 'createTime',
            slots: { customRender: 'createTime' }
        },
        {
            title: '修改时间',
            dataIndex: 'updateTime',
            slots: { customRender: 'updateTime' }
        },
        {
            title: '数据分析',
            dataIndex: 'riskCount',
            slots: { customRender: 'riskCount' },
            fixed: 'right'
        }
    ],
    proRequireTrack: [
        {
            title: '产品需求',
            dataIndex: 'productName',
            width: 300,
            ellipsis: true,
            fixed: 'left',
            slots: { customRender: 'productName' }
        },
        {
            title: '产品需求编号',
            fixed: 'left',
            dataIndex: 'productNumber'
        },
        {
            title: '业务需求',
            dataIndex: 'businessName',
            width: 300,
            ellipsis: true,
            slots: { customRender: 'businessName' }
        },
        {
            title: '业务需求编号',
            dataIndex: 'businessNumber'
        },
        {
            title: '状态',
            dataIndex: 'status',
            slots: { customRender: 'status' }
        },
        {
            title: '提出时间',
            dataIndex: 'businessCreateTime',
            slots: { customRender: 'businessCreateTime' }
        },
        {
            title: '受理时间',
            dataIndex: 'businessAcceptTime',
            slots: { customRender: 'businessAcceptTime' }
        },
        {
            title: '提交时间',
            dataIndex: 'businessSubmitTime',
            slots: { customRender: 'businessSubmitTime' }
        },
        {
            title: '确认时间',
            dataIndex: 'businessConfirmTime',
            slots: { customRender: 'businessConfirmTime' }
        },
        {
            title: '加入版本',
            dataIndex: 'productAddVersionTime',
            slots: { customRender: 'productAddVersionTime' }
        },
        {
            title: '版本名称',
            dataIndex: 'versionName',
            ellipsis: true
        },
        {
            title: '版本号',
            dataIndex: 'versionNumber',
            slots: { customRender: 'versionNumber' }
        },
        {
            title: '方案确定',
            dataIndex: 'versionConfirmTime',
            slots: { customRender: 'versionConfirmTime' }
        },
        //研发
        {
            title: '研发计划开始',
            dataIndex: 'versionRanddPlanStartTime',
            slots: { customRender: 'versionRanddPlanStartTime' }
        },
        {
            title: '研发计划完成',
            dataIndex: 'versionRanddPlanEndTime',
            slots: { customRender: 'versionRanddPlanEndTime' }
        },
        {
            title: '研发实际开始',
            dataIndex: 'versionRanddRealStartTime',
            slots: { customRender: 'versionRanddRealStartTime' }
        },
        {
            title: '研发实际完成',
            dataIndex: 'versionRanddRealEndTime',
            slots: { customRender: 'versionRanddRealEndTime' }
        },
        // 测试
        {
            title: '测试计划开始',
            dataIndex: 'versionTestPlanStartTime',
            slots: { customRender: 'versionTestPlanStartTime' }
        },
        {
            title: '测试计划结束',
            dataIndex: 'versionTestPlanEndTime',
            slots: { customRender: 'versionTestPlanEndTime' }
        },
        {
            title: '测试实际开始',
            dataIndex: 'versionTestRealStartTime',
            slots: { customRender: 'versionTestRealStartTime' }
        },
        {
            title: '测试实际结束',
            dataIndex: 'versionTestRealEndTime',
            slots: { customRender: 'versionTestRealEndTime' }
        },

        {
            title: '初次提测时间',
            dataIndex: 'versionAutoTestTime',
            slots: { customRender: 'versionAutoTestTime' }
        },
        {
            title: '提测次数',
            dataIndex: 'versionAutoTestCount'
        },
        {
            title: '交付时间',
            dataIndex: 'versionDeliveryTime',
            slots: { customRender: 'versionDeliveryTime' }
        },
        {
            title: '预计上线',
            dataIndex: 'versionExpectTime',
            slots: { customRender: 'versionExpectTime' }
        },
        {
            title: '上线完成',
            dataIndex: 'versionOnlineTime',
            slots: { customRender: 'versionOnlineTime' }
        },
        {
            title: '实际上线',
            dataIndex: 'versionOnlineRealTime',
            slots: { customRender: 'versionOnlineRealTime' }
        },
        {
            title: '创建时间',
            dataIndex: 'createTime',
            slots: { customRender: 'createTime' }
        },
        {
            title: '修改时间',
            dataIndex: 'updateTime',
            slots: { customRender: 'updateTime' }
        },
        {
            title: '数据分析',
            dataIndex: 'riskCount',
            slots: { customRender: 'riskCount' },
            fixed: 'right'
        }
    ],
    versionRequireTrack: [
        {
            title: '版本号',
            dataIndex: 'versionNumber',
            width: 300,
            ellipsis: true,
            fixed: 'left',
            slots: { customRender: 'versionNumber' }
        },
        {
            title: '版本名称',
            dataIndex: 'versionName',
            ellipsis: true
        },
        {
            title: '产品需求',
            dataIndex: 'productName',
            width: 300,
            ellipsis: true,
            slots: { customRender: 'productName' }
        },
        {
            title: '业务需求',
            dataIndex: 'businessName',
            width: 300,
            ellipsis: true,
            slots: { customRender: 'businessName' }
        },
        {
            title: '状态',
            dataIndex: 'status',
            slots: { customRender: 'status' }
        },
        {
            title: '受理时间',
            dataIndex: 'businessAcceptTime',
            slots: { customRender: 'businessAcceptTime' }
        },
        {
            title: '方案确定',
            dataIndex: 'versionConfirmTime',
            slots: { customRender: 'versionConfirmTime' }
        },
        {
            title: '加入版本',
            dataIndex: 'productAddVersionTime',
            slots: { customRender: 'productAddVersionTime' }
        },
        //研发
        {
            title: '研发计划开始',
            dataIndex: 'versionRanddPlanStartTime',
            slots: { customRender: 'versionRanddPlanStartTime' }
        },
        {
            title: '研发计划完成',
            dataIndex: 'versionRanddPlanEndTime',
            slots: { customRender: 'versionRanddPlanEndTime' }
        },
        {
            title: '研发实际开始',
            dataIndex: 'versionRanddRealStartTime',
            slots: { customRender: 'versionRanddRealStartTime' }
        },
        {
            title: '研发实际完成',
            dataIndex: 'versionRanddRealEndTime',
            slots: { customRender: 'versionRanddRealEndTime' }
        },
        // 测试
        {
            title: '测试计划开始',
            dataIndex: 'versionTestPlanStartTime',
            slots: { customRender: 'versionTestPlanStartTime' }
        },
        {
            title: '测试计划结束',
            dataIndex: 'versionTestPlanEndTime',
            slots: { customRender: 'versionTestPlanEndTime' }
        },
        {
            title: '测试实际开始',
            dataIndex: 'versionTestRealStartTime',
            slots: { customRender: 'versionTestRealStartTime' }
        },
        {
            title: '测试实际结束',
            dataIndex: 'versionTestRealEndTime',
            slots: { customRender: 'versionTestRealEndTime' }
        },
        {
            title: '预计上线',
            dataIndex: 'versionExpectTime',
            slots: { customRender: 'versionExpectTime' }
        },
        {
            title: '实际上线',
            dataIndex: 'versionOnlineRealTime',
            slots: { customRender: 'versionOnlineRealTime' }
        },
        {
            title: '数据分析',
            dataIndex: 'riskCount',
            slots: { customRender: 'riskCount' },
            fixed: 'right'
        }
    ],
    requireJiraTrack: [
        {
            title: 'ISSUE',
            dataIndex: 'summary',
            width: 300
        },
        {
            title: '版本名称',
            dataIndex: 'versionName'
        },
        {
            title: 'sprint',
            dataIndex: 'sprint'
        },
        {
            title: '状态',
            dataIndex: 'status'
            // slots: { customRender: 'status' },
        },
        {
            title: '提出时间',
            dataIndex: 'submitTime',
            slots: { customRender: 'submitTime' }
        },
        {
            title: '方案确定',
            dataIndex: 'confirmTime',
            slots: { customRender: 'confirmTime' }
        },
        //研发
        {
            title: '研发开始',
            dataIndex: 'randdStartTime',
            slots: { customRender: 'randdStartTime' }
        },
        {
            title: '研发结束',
            dataIndex: 'randdEndTime',
            slots: { customRender: 'randdEndTime' }
        },
        //测试
        {
            title: '测试开始',
            dataIndex: 'testStartTime',
            slots: { customRender: 'testStartTime' }
        },
        {
            title: '测试结束',
            dataIndex: 'testEndTime',
            slots: { customRender: 'testEndTime' }
        },
        {
            title: '实际上线',
            dataIndex: 'onlineTime',
            slots: { customRender: 'onlineTime' }
        },
        {
            title: '需求跟踪',
            dataIndex: 'action',
            fixed: 'right',
            slots: { customRender: 'action' }
        }
    ],
    versionJiraTrack: [
        {
            title: '版本号',
            dataIndex: 'name',
            width: 300
        },
        {
            title: 'STORY',
            dataIndex: 'story',
            slots: { customRender: 'story' }
        },
        {
            title: '预计工时',
            width: 200,
            dataIndex: 'planWorkHours',
            slots: { customRender: 'planWorkHours' }
        },
        {
            title: '消耗工时',
            width: 200,
            dataIndex: 'expendWorkHours',
            slots: { customRender: 'expendWorkHours' }
        }
    ],
    versionReportWaicaiHistory: [
        {
            title: '版本号',
            dataIndex: 'versionNumber',
            width: 150,
            ellipsis: true
        },
        {
            title: '版本名称',
            dataIndex: 'versionName',
            ellipsis: true,
            slots: { customRender: 'versionName' }
        },
        {
            title: '合计成本',
            width: 80,
            dataIndex: 'realTotalCost'
        },
        {
            title: '计划/上线需求数',
            dataIndex: 'planProductCount',
            width: 120,
            slots: { customRender: 'planProductCount' }
        },
        {
            title: '完成率',
            dataIndex: 'completePercent',
            width: 100,
            slots: { customRender: 'completePercent' }
        },
        {
            title: '测试用例',
            dataIndex: 'passTestCast',
            width: 120,
            slots: { customRender: 'passTestCast' }
        },
        {
            title: '研发中bug数',
            dataIndex: 'randdBugCount',
            width: 100
        },
        {
            title: '及时性',
            dataIndex: 'onlineStatus',
            width: 100,
            slots: {
                customRender: 'onlineStatus'
            }
        },
        {
            title: '流程状态',
            dataIndex: 'status',
            width: 80,
            slots: { customRender: 'status' }
        },
        {
            title: '推送',
            dataIndex: 'pushStatus',
            width: 50,
            slots: { customRender: 'pushStatus' }
        }
    ],
    versionReportZiyanHistory: [
        {
            title: '版本号',
            width: 150,
            ellipsis: true,
            dataIndex: 'versionNumber'
        },
        {
            title: '版本名称',
            dataIndex: 'versionName',
            ellipsis: true,
            slots: { customRender: 'versionName' }
        },
        {
            title: '团队人数',
            width: 70,
            dataIndex: 'teamSize',
            slots: { customRender: 'teamSize' }
        },
        {
            title: '生产能力（h）',
            width: 120,
            dataIndex: 'productionCapacity',
            slots: { customRender: 'productionCapacity' }
        },
        {
            title: '有效生产时间（h）',
            width: 130,
            dataIndex: 'effectiveProductionTime'
        },
        {
            title: '利用率',
            dataIndex: 'usePercent',
            width: 60,
            slots: { customRender: 'usePercent' }
        },
        {
            title: '计划/上线需求数',
            dataIndex: 'planProductCount',
            width: 120,
            slots: { customRender: 'planProductCount' }
        },
        {
            title: '开发完成率',
            dataIndex: 'completePercent',
            width: 100,
            slots: { customRender: 'completePercent' }
        },
        {
            title: '测试用例',
            dataIndex: 'passTestCast',
            width: 120,
            slots: { customRender: 'passTestCast' }
        },
        {
            title: '研发中bug数',
            dataIndex: 'randdBugCount',
            width: 100
        },
        {
            title: '及时性',
            dataIndex: 'onlineStatus',
            width: 100,
            slots: {
                customRender: 'onlineStatus'
            }
        },
        {
            title: '流程状态',
            dataIndex: 'status',
            width: 80,
            slots: { customRender: 'status' }
        },
        {
            title: '推送',
            dataIndex: 'pushStatus',
            width: 50,
            slots: { customRender: 'pushStatus' }
        }
    ],
    zhipingGuifanxing: [
        {
            title: '所属产品',
            dataIndex: 'systemName'
        },
        {
            title: '产品需求编号',
            dataIndex: 'productNumber'
        },
        {
            title: '产品需求名称',
            dataIndex: 'productName',
            width: 200
        },
        {
            title: '关联业务需求编号',
            dataIndex: 'businessNumber'
        },
        {
            title: '提出时间',
            dataIndex: 'businessCreateTime',
            slots: { customRender: 'businessCreateTime' }
        },
        {
            title: '上线时间',
            dataIndex: 'versionOnlineRealTime',
            slots: { customRender: 'versionOnlineRealTime' }
        },
        {
            title: '创建人',
            dataIndex: 'createUser'
        },
        {
            title: '是否关联业务需求',
            dataIndex: 'isConnectBusiness',
            slots: { customRender: 'isConnectBusiness' }
        },
        {
            title: '是否存在时间轴异常',
            dataIndex: 'isWrongTimeIndex',
            slots: { customRender: 'isWrongTimeIndex' }
        },
        {
            title: '是否全生命周期研发流程管理',
            dataIndex: 'isOutsideSystem',
            slots: { customRender: 'isOutsideSystem' },
            width: 220
        },
        {
            title: '是否开启上线验证工单',
            dataIndex: 'isCheckWorkOrder',
            slots: { customRender: 'isCheckWorkOrder' }
        }
    ],
    lubiaoSetting: [
        {
            title: '产品线',
            dataIndex: 'productLineName'
        },
        {
            title: '产品名称',
            dataIndex: 'catalogName'
        },
        {
            title: '产品类型',
            dataIndex: 'productGrade',
            width: 80,
            slots: { customRender: 'productGrade' }
        },
        {
            title: '是否有年度规划',
            dataIndex: 'isAnnualPlanning',
            slots: { customRender: 'isAnnualPlanning' }
        },
        {
            title: '是否进行路标规划',
            dataIndex: 'isSignpostPlan',
            slots: { customRender: 'isSignpostPlan' }
        },
        {
            title: '路标规划周期',
            dataIndex: 'signpostPlanPeriod',
            slots: { customRender: 'signpostPlanPeriod' }
        },
        {
            title: '产品经理',
            dataIndex: 'productManagers'
        },
        {
            title: '所属团队',
            width: 200,
            dataIndex: 'organizations'
        }
    ],
    lubiaoPushList: [
        {
            title: '产品线',
            dataIndex: 'productLineName'
        },
        {
            title: '产品名称',
            width: 200,
            dataIndex: 'catalogName'
        },
        {
            title: '产品类型',
            dataIndex: 'productGrade',
            width: 80,
            slots: { customRender: 'productGrade' }
        },
        {
            title: '路标规划周期',
            dataIndex: 'signpostPlanPeriod',
            slots: { customRender: 'signpostPlanPeriod' }
        },
        {
            title: '已制定路标截止日期',
            dataIndex: 'expirationDate',
            slots: { customRender: 'expirationDate' }
        },
        {
            title: '是否有年度规划',
            dataIndex: 'isAnnualPlanning',
            slots: { customRender: 'isAnnualPlanning' }
        },
        {
            title: '是否发起下一阶段路标',
            dataIndex: 'isLaunchNextPhase',
            slots: { customRender: 'isLaunchNextPhase' }
        },
        {
            title: '开始时间',
            dataIndex: 'startTime',
            slots: { customRender: 'startTime' }
        },
        {
            title: '结束时间',
            dataIndex: 'endTime',
            slots: { customRender: 'endTime' }
        },
        {
            title: '流程状态',
            dataIndex: 'status',
            slots: { customRender: 'status' }
        },
        {
            title: '产品经理',
            width: 200,
            dataIndex: 'productManagers',
            ellipsis: true
        },
        {
            title: '所属团队',
            dataIndex: 'organizations',
            ellipsis: true
        },
        {
            title: '操作',
            dataIndex: 'action',
            fixed: 'right',
            slots: { customRender: 'action' }
        }
    ],
    myLubiaoList: [
        {
            title: '产品',
            width: 200,
            dataIndex: 'catalogName',
            ellipsis: true
        },
        {
            title: '路标名称',
            width: 200,
            dataIndex: 'signpostName',
            ellipsis: true,
            slots: { customRender: 'signpostName' }
        },
        {
            title: '开始时间',
            dataIndex: 'startTime',
            slots: { customRender: 'startTime' }
        },
        {
            title: '结束时间',
            dataIndex: 'endTime',
            slots: { customRender: 'endTime' }
        },
        {
            title: '支线版本',
            dataIndex: 'pmpVersionManagementDTO',
            slots: { customRender: 'pmpVersionManagementDTO' }
        },
        {
            title: '负责人',
            width: 200,
            dataIndex: 'productManagers',
            slots: { customRender: 'productManagers' },
            ellipsis: true
        },
        {
            title: '状态',
            dataIndex: 'status',
            slots: { customRender: 'status' }
        },
        {
            title: '创建时间',
            dataIndex: 'createTime',
            slots: { customRender: 'createTime' }
        },
        {
            title: '更新时间',
            dataIndex: 'updateTime',
            slots: { customRender: 'updateTime' }
        }
    ],
    registeredProject: [
        {
            title: '产品名称',
            dataIndex: 'systemName',
            width: 150,
            slots: { customRender: 'systemName' }
        },
        {
            title: '产品等级',
            dataIndex: 'productGrade',
            width: 100,
            sorter: true
        },
        {
            title: '注册制项目',
            dataIndex: 'projectName',
            width: '30%',
            ellipsis: true,
            slots: { customRender: 'projectName' }
        },
        {
            title: '年份',
            dataIndex: 'year',
            width: 100,
            sorter: true
        },
        {
            title: '主线版本',
            dataIndex: 'version',
            width: 150,
            slots: { customRender: 'version' }
        },
        {
            title: '路标状态',
            dataIndex: 'pmpSignpostDTO',
            width: 100,
            slots: { customRender: 'pmpSignpostDTO' }
        }
    ]
};
